home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / othergnu / gdbm15.zoo / Changes.ST < prev    next >
Encoding:
Text File  |  1992-09-25  |  1.1 KB  |  29 lines

  1. this was built with GNU C v1.40 with MiNT lib at PL 19. the library was
  2. mostly untested (i did play with testgdbm a bit).
  3.  
  4.  
  5. here are the changes to port this to GNU C on ST:
  6.  
  7.     - rename files to 8.3 by truncating 8 part. most notable was
  8.       change the include for gdbmconst.h in gdbmdefs.h (now includes
  9.       gdbmcons.h). use #ifdef atarist.
  10.  
  11.     - deal with L_SET like for system V: in system.h, ifdef atarist
  12.       && __GNUC__, define L_SET and include <unistd.h> to pick up the
  13.       macro. (otherwise, patch bucket.c,falloc.c,findkey.c,gdbmopen.c,
  14.       gdbmstor.c,update.c,testgdbm.c). note that L_SET is BSD while
  15.       SEEK_SET is POSIX/sysV.
  16.  
  17.     - MiNT (or TOS) does not have fsync(). #ifdef atarist these out
  18.       (gdbmopen.c,gdbmreor.c,update.c). note that i wrote a dummy fsync
  19.       which may or may not be in gdbm.olb. note: be careful with
  20.       dummy macro since there is an instance of "if (whatever) fsync(...)".
  21.  
  22.     - change makefile (gdbm.a -> gdbm.olb, 8.3 name changes, etc.)
  23.  
  24.     - TRUNCATE should be checked. it was defined as default but testgdbm
  25.       seemed to link.
  26.  
  27.     - write gdbm.ma3 from readme. get dbm.3x and ndbm.3 from unix sys.
  28.  
  29.